type go/printer.printer

60 uses

	go/printer (current package)
		gobuild.go#L13: func (p *printer) fixGoBuildLines() {
		gobuild.go#L146: func (p *printer) lineAt(start int) []byte {
		gobuild.go#L157: func (p *printer) commentTextAt(start int) string {
		nodes.go#L48: func (p *printer) linebreak(line, min int, ws whiteSpace, newSection bool) (nbreaks int) {
		nodes.go#L72: func (p *printer) setComment(g *ast.CommentGroup) {
		nodes.go#L108: func (p *printer) identList(list []*ast.Ident, indent bool) {
		nodes.go#L130: func (p *printer) exprList(prev0 token.Pos, list []ast.Expr, depth int, mode exprListMode, next0 token.Pos, isIncomplete bool) {
		nodes.go#L330: func (p *printer) parameters(fields *ast.FieldList, mode paramMode) {
		nodes.go#L420: func (p *printer) signature(sig *ast.FuncType) {
		nodes.go#L456: func (p *printer) isOneLineFieldList(list []*ast.Field) bool {
		nodes.go#L474: func (p *printer) setLineComment(text string) {
		nodes.go#L478: func (p *printer) fieldList(fields *ast.FieldList, isStruct, isIncomplete bool) {
		nodes.go#L749: func (p *printer) binaryExpr(x *ast.BinaryExpr, prec1, cutoff, depth int) {
		nodes.go#L793: func (p *printer) expr1(expr ast.Expr, prec1, depth int) {
		nodes.go#L1098: func (p *printer) possibleSelectorExpr(expr ast.Expr, prec1, depth int) bool {
		nodes.go#L1108: func (p *printer) selectorExpr(x *ast.SelectorExpr, depth int, isMethod bool) bool {
		nodes.go#L1122: func (p *printer) expr0(x ast.Expr, depth int) {
		nodes.go#L1126: func (p *printer) expr(x ast.Expr) {
		nodes.go#L1137: func (p *printer) stmtList(list []ast.Stmt, nindent int, nextIsRBrace bool) {
		nodes.go#L1175: func (p *printer) block(b *ast.BlockStmt, nindent int) {
		nodes.go#L1225: func (p *printer) controlClause(isForStmt bool, init ast.Stmt, expr ast.Expr, post ast.Stmt) {
		nodes.go#L1263: func (p *printer) indentList(list []ast.Expr) bool {
		nodes.go#L1294: func (p *printer) stmt(stmt ast.Stmt, nextIsRBrace bool) {
		nodes.go#L1547: func (p *printer) valueSpec(s *ast.ValueSpec, keepType bool) {
		nodes.go#L1618: func (p *printer) spec(spec ast.Spec, n int, doIndent bool) {
		nodes.go#L1668: func (p *printer) genDecl(d *ast.GenDecl) {
		nodes.go#L1714: func (p *printer) nodeSize(n ast.Node, maxSize int) (size int) {
		nodes.go#L1747: func (p *printer) numLines(n ast.Node) int {
		nodes.go#L1757: func (p *printer) bodySize(b *ast.BlockStmt, maxSize int) int {
		nodes.go#L1788: func (p *printer) funcBody(headerSize int, sep whiteSpace, b *ast.BlockStmt) {
		nodes.go#L1825: func (p *printer) distanceFrom(startPos token.Pos, startOutCol int) int {
		nodes.go#L1832: func (p *printer) funcDecl(d *ast.FuncDecl) {
		nodes.go#L1848: func (p *printer) decl(decl ast.Decl) {
		nodes.go#L1875: func (p *printer) declList(list []ast.Decl) {
		nodes.go#L1902: func (p *printer) file(src *ast.File) {
		printer.go#L53: type printer struct {
		printer.go#L97: func (p *printer) init(cfg *Config, fset *token.FileSet, nodeSizes map[ast.Node]int) {
		printer.go#L107: func (p *printer) internalError(msg ...any) {
		printer.go#L118: func (p *printer) commentsHaveNewline(list []*ast.Comment) bool {
		printer.go#L134: func (p *printer) nextComment() {
		printer.go#L155: func (p *printer) commentBefore(next token.Position) bool {
		printer.go#L162: func (p *printer) commentSizeBefore(next token.Position) int {
		printer.go#L183: func (p *printer) recordLine(linePtr *int) {
		printer.go#L192: func (p *printer) linesFrom(line int) int {
		printer.go#L196: func (p *printer) posFor(pos token.Pos) token.Position {
		printer.go#L201: func (p *printer) lineFor(pos token.Pos) int {
		printer.go#L210: func (p *printer) writeLineDirective(pos token.Position) {
		printer.go#L222: func (p *printer) writeIndent() {
		printer.go#L238: func (p *printer) writeByte(ch byte, n int) {
		printer.go#L286: func (p *printer) writeString(pos token.Position, s string, isLit bool) {
		printer.go#L356: func (p *printer) writeCommentPrefix(pos, next token.Position, prev *ast.Comment, tok token.Token) {
		printer.go#L638: func (p *printer) writeComment(comment *ast.Comment) {
		printer.go#L699: func (p *printer) writeCommentSuffix(needsLinebreak bool) (wroteNewline, droppedFF bool) {
		printer.go#L733: func (p *printer) containsLinebreak() bool {
		printer.go#L748: func (p *printer) intersperseComments(next token.Position, tok token.Token) (wroteNewline, droppedFF bool) {
		printer.go#L799: func (p *printer) writeWhitespace(n int) {
		printer.go#L881: func (p *printer) print(args ...any) {
		printer.go#L1024: func (p *printer) flush(next token.Position, tok token.Token) (wroteNewline, droppedFF bool) {
		printer.go#L1078: func (p *printer) printNode(node any) error {
		printer.go#L1314: 	var p printer